﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
</head>
<body>
    <script>
        var data = { Command: "MakeToken", Token: "Token", ClientTime: new Date() };

        var sign_names = [];

        for (var i in data) {
            sign_names.push(i);
        }

        sign_names.sort((x, y) => {

            x = comparison(x);
            y = comparison(y);

            return x.localeCompare(y);

            function comparison(value) {
                switch (value) {
                    case "Token":
                        return "          " + value;
                    default:
                        return value;
                }
            }
        });

        for (var i = 0; i < sign_names.length; i++) {
            console.log(sign_names[i]);
        }

    </script>
</body>
</html>